package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-L2 VPN配置-节点属性-节点信息对象 busi_l2_vpn_node_info
 * 
 * @author tony
 * @date 2024-12-14
 */
public class BusiL2VpnNodeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** L2 VPN业务主键 */
    @Excel(name = "L2 VPN业务主键")
    @ApiModelProperty(value = "L2 VPN业务主键")
    private String l2VpnId;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** 生成交叉方式（VPWS） */
    @Excel(name = "生成交叉方式", readConverterExp = "V=PWS")
    @ApiModelProperty(value = "生成交叉方式")
    private String corssType;

    /** VPWS业务名称 */
    @Excel(name = "VPWS业务名称")
    @ApiModelProperty(value = "VPWS业务名称")
    private String busiName;

    /** ARP双发选收使能 */
    @Excel(name = "ARP双发选收使能")
    @ApiModelProperty(value = "ARP双发选收使能")
    private String arpEnable;

    /** NDP缓存双发使能 */
    @Excel(name = "NDP缓存双发使能")
    @ApiModelProperty(value = "NDP缓存双发使能")
    private String ndpCacheEnable;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setL2VpnId(String l2VpnId) 
    {
        this.l2VpnId = l2VpnId;
    }

    public String getL2VpnId() 
    {
        return l2VpnId;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setCorssType(String corssType) 
    {
        this.corssType = corssType;
    }

    public String getCorssType() 
    {
        return corssType;
    }
    public void setBusiName(String busiName) 
    {
        this.busiName = busiName;
    }

    public String getBusiName() 
    {
        return busiName;
    }
    public void setArpEnable(String arpEnable) 
    {
        this.arpEnable = arpEnable;
    }

    public String getArpEnable() 
    {
        return arpEnable;
    }
    public void setNdpCacheEnable(String ndpCacheEnable) 
    {
        this.ndpCacheEnable = ndpCacheEnable;
    }

    public String getNdpCacheEnable() 
    {
        return ndpCacheEnable;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("l2VpnId", getL2VpnId())
            .append("elementId", getElementId())
            .append("corssType", getCorssType())
            .append("busiName", getBusiName())
            .append("arpEnable", getArpEnable())
            .append("ndpCacheEnable", getNdpCacheEnable())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
